//
//  InfoModel.h
//  项目
//
//  Created by 张诗雨 on 15/1/4.
//  Copyright (c) 2015年 张诗雨. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface InfoModel : NSObject
@property (nonatomic, copy)NSString *contentid;
@property (nonatomic, assign)NSInteger type;
@property (nonatomic, copy)NSString *addtime_f; /// 创作时间
@property (nonatomic, retain)NSDictionary *userinfo;
@property (nonatomic, copy)NSString *title;
@property (nonatomic, copy)NSString *content; /// 主要内容
@property (nonatomic, retain)NSDictionary *counterList; ///  人气
@property (nonatomic, copy)NSString *sharepic; /// 分享时用的图片
@property (nonatomic, copy)NSString *shareurl; /// 详情链接
@property (nonatomic, copy)NSString *html; /// 主要内容
@property (nonatomic, retain)NSArray *imgList; /// 图片列表

- (instancetype)initWithContentid:(NSString *)contentid type:(NSInteger)type addtime_f:(NSString *)addtime_f userinfo:(NSDictionary *)userinfo title:(NSString *)title content:(NSString *)content counterList:(NSDictionary *)counterList sharepic:(NSString *)sharepic shareurl:(NSString *)shareurl html:(NSString *)html imgList:(NSArray *)imgList;
+ (instancetype)infoModelWithContentid:(NSString *)contentid type:(NSInteger)type addtime_f:(NSString *)addtime_f userinfo:(NSDictionary *)userinfo title:(NSString *)title content:(NSString *)content counterList:(NSDictionary *)counterList sharepic:(NSString *)sharepic shareurl:(NSString *)shareurl html:(NSString *)html imgList:(NSArray *)imgList;

@end
